extents
Type
function
Summary
Returns a list of the smallest and largest keys for each dimension of an array.
Syntax
the extents of <array>
extents(<array>)
Description
Use the extents function to find the minimum and maximum row and column numbers of an array whose keys are integers.
If any of the keys of the array is non-numeric, the extents function returns empty.
Parameters
Name | Type | Description |
---|---|---|
array | array |
Examples
the extents of myArray
put item 1 of line 2 of the extents of theFigures into columnsMinimum
Related
keyword: line
control structure: function
function: keys, round, matrixMultiply, sum, max, min
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile